<?php
	
    namespace models;

    require_once APPPATH . 'dao/CobradorZonaDAO.php';
	
    /**
     * @Entity
     * @Table(name="`BD_Operativa"".""cobrador_zona`")
     */
    class M_cobrador_zona {
        
        /**
         * @Id
         * @Column(type="integer", nullable=false)
         */
        private $id;
		
        /**
         * @ManyToOne(targetEntity="M_cobrador", fetch="EAGER")
         * @JoinColumn(name="cobrador_id", referencedColumnName="id")
         */
        private $cobrador;
	
        /**
         * @ManyToOne(targetEntity="M_zona", fetch="EAGER")
         * @JoinColumn(name="zona_id", referencedColumnName="id")
         */
        private $zona;
		
        public function getId(){
                return $this->id;
        }
        
        public function getCobrador(){
                return $this->cobrador;
        }
        
        public function getZona(){
                return $this->zona;
        }
        
        public function setCobrador($cobrador){
            $this->cobrador = $cobrador;
        }
        
        public function setZona($zona){
            $this->zona = $zona;
        }
	
    }

?>
